package com.scu.hotelsystem.dao;

import com.scu.hotelsystem.pojo.RoomCate;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface RoomCateDao {
    List<RoomCate> searchValidRoomCate(@Param("search") RoomCate search, @Param("index")int index, @Param("limit")int limit);
    int updateRoomCate(@Param("roomCate") RoomCate roomCate);
    int insertAndUpdateRoomCate(@Param("roomCate") RoomCate roomCate);
    int setRoomCatesInvalidById(@Param("idList") int[] idList);
}
